package org.example.design.facade.test2;

/**
 * @author huangshen
 * @version 0
 * @description Ear
 * @since 2022/2/10 16:56
 */
public class Ear {

    /**
     * 听-获取别人说的话
     */
    public String getWords(String words){
        System.out.println("别人对我说的话："+words);
        return words;
    }

    /**
     * 耳朵把话传给大脑
     */
    public boolean sendWordsToBrain(Brain brain, String words){
        return brain.sendWordsInBrain(words);
    }
}
